package nl.stroep.db 
{
	/**
	 * ...
	 * @author Mark Knol
	 */
	public class Entry
	{
		public var name:String;
		public var type:String;
		public var primary:Boolean;
		
		public function Entry(name:String, type:String, primary:Boolean = false ):void
		{
			this.name = name;
			this.type = type;
			this.primary = primary;
		}
		
		public function toString():String
		{
			return name + " " + type + ((primary) ? "  PRIMARY KEY ASC" : "");
		}
	}

}